package com.dingding.util;

/**
 * @description: 分页
 * @author: zyj
 * @create: 2020-03-10 11:34
 **/
public class PageUtil {

    public static long offset(long pageNo, long pageSize){
        long offset = (pageNo-1)*pageSize+1;
        return offset;
    }
}
